<link media="screen" rel="stylesheet" type="text/css"
	href="<?php echo ROOT_URL?>/public/admin.css" />
<center>
<div class="addcate">
<h1> Tao moi Crawler</h1>
<p>
	<?php if($this->messages['sucessful']){?>
		<span class="complete-1"><?php echo $this->messages['sucessful']; ?></span>
	<?php }?>
</p>
	<form action="" method="post">
		<p>
			<label>Crawler Name: </label>
			<?php echo $this->formText('name', $this->params['name'])?>
		</p>
		<p>
			<label>Depth: </label>
			<?php echo $this->formText('depth', $this->params['depth'])?>
		</p>
		<p>
			<label>List Website: </label>
			<?php echo $this->formSelect('websites', $this->params['websites'], array('multiple'=>true,'size'=>10), $this->hash_websites ) ?>
		</p>
		
		<p>
			<input type="submit" value="Add">
		</p>
	</form>
</div>
</center>

